package com.eduction.modules.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="t_feedback")
public class FeedBack {
/*	CREATE TABLE `t_feedback` (
			  `p_id` bigint(20) NOT NULL AUTO_INCREMENT,
			  `s_expert_id` bigint(20) NOT NULL COMMENT '专家id',
			  `s_school_id` bigint(20) NOT NULL COMMENT '学校id',
			  `s_survey` varchar(1024) DEFAULT NULL COMMENT '概况',
			  `s_impression` varchar(1024) DEFAULT NULL COMMENT '印象',
			  `s_characteristic` varchar(1024) DEFAULT NULL COMMENT '特色',
			  `s_suggest` varchar(1024) DEFAULT NULL COMMENT '建议',
			  `s_create_time` datetime NOT NULL,
			  PRIMARY KEY (`p_id`)
			) ENGINE=InnoDB DEFAULT CHARget=utf8;*/
	 
	private String pid;
	private String expertId;//专家id
	private String schoolId;//学校id
	private String survey;//概况
	private String impression;//印象
	private String characteristic;//特色
	private String suggest;//建议
	private String createTime;
	private String schoolName;//学校名称
	private String state;//填报状态
	
	@Column(name="s_state")
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name="s_expert_id")
	public String getExpertId() {
		return expertId;
	}
	@Column(name="s_school_id")
	public String getSchoolId() {
		return schoolId;
	}
	@Column(name="s_survey")
	public String getSurvey() {
		return survey;
	}
	@Column(name="s_impression")
	public String getImpression() {
		return impression;
	}
	@Column(name="s_characteristic")
	public String getCharacteristic() {
		return characteristic;
	}
	@Column(name="s_suggest")
	public String getSuggest() {
		return suggest;
	}
	@Column(name="s_create_time")
	public String getCreateTime() {
		return createTime;
	}
	@Transient
	public String getSchoolName() {
		return schoolName;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setExpertId(String expertId) {
		this.expertId = expertId;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	public void setSurvey(String survey) {
		this.survey = survey;
	}
	public void setImpression(String impression) {
		this.impression = impression;
	}
	public void setCharacteristic(String characteristic) {
		this.characteristic = characteristic;
	}
	public void setSuggest(String suggest) {
		this.suggest = suggest;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	
	
	
}
